/**
 * Copyright (C) 2025 pony working team
 * SPDX-License-Identifier: MulanPSL-2.0
 */

#include <stdio.h>

#include <x_config.h>
#include <k_task.h>

#include <hal_key.h>
#include <ui.h>

int main(void)
{
    int ret;

    if ((ret = ui_init()) != 0) {
        printf("ui_init failed, ret=%d\n", ret);
        return ret;
    }

    while (1) {
        hal_key_scan();
        task_msleep(10);
    }

    return 0;
}
